package com.bianmaba.spring.security.database;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * Created by cwx183898 on 2017/8/14.
 */
@Configuration
@EnableConfigurationProperties
@Import({DatabaseSecurityProperties.class, DatabasicWebSecurityConfiguration.class})
@ConditionalOnProperty(prefix = "security.basic", name = "enabled", matchIfMissing = true)
public class DatabaseWebSecurityAutoConfiguration {
}
